﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using ParadiseSuperMarket.Models;

namespace ConsoleInterface
{
    class Program
    {
        static int Menu()
        {
            Console.WriteLine("Input: " + Environment.NewLine +
                "1) Load Excel Reports from ZIP File" + Environment.NewLine +
                "2) Generate PDF Aggregated Sales Reports" + Environment.NewLine +
                "3) Generate XML Sales Report by Vendors" + Environment.NewLine +
                "4) Product Reports" + Environment.NewLine +
                "5) Load Vendor Expenses from XML" + Environment.NewLine +
                "6) Vendors Total Report");

            int input = Convert.ToInt32(Console.ReadLine());
            return input;
        }

        static void Main(string[] args)
        {
            //ArchiveAccess test = new ArchiveAccess(@"E:\test\test.zip", @"E:\test\testResult");
            //test.Extract();

            /*int userInput = Menu();
            switch (userInput)
            {
                case 1: break;
                case 2: break;
                case 3: break;
                case 4: break;
                case 5: break;
                case 6: break;
                default: Console.WriteLine("Wrong input!"); break;
            }*/

            JSON.Extract(3, "productName", "vendorName", 1, 2);
        }
    }
}
